﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace DirectXTest
{
    class Frame
    {

        Rectangle collisionRect;
        Point anchorPoint;
        public Rectangle drawRect;

        public int frameTime;
        string trigger;

        public Frame()
        {
            collisionRect = Rectangle.Empty;
            drawRect = Rectangle.Empty;
            anchorPoint = new Point(-4,-4);
            trigger = "";
        }

        public Rectangle CollisionRect
        {
            get
            {
                return collisionRect;
            }
            set
            {
                collisionRect = value;
            }
        }
        
        public Rectangle DrawRect
        {
            get
            {
                return drawRect;
            }
            set
            {
                drawRect = value;
            }
        }

        public string Trigger
        {
            get
            {
                return trigger;
            }
            set
            {
                trigger = value;
            }
        }

        public int FrameTime
        {
            get
            {
                return frameTime;
            }
            set
            {
                frameTime = value;
            }
        }

        public Point AnchorPoint
        {
            get
            {
                return anchorPoint;
            }
            set
            {
                anchorPoint = value;
            }
        }
    }
}
